package com.tm.chargecar.mapper;

import com.tm.chargecar.dto.DogcarRepairDto;
import com.tm.chargecar.entity.DogcartRepairEntity;
import com.tm.chargecar.vo.DogcartRepairVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wangSang
 * @create 2022-08-24 9:52
 *
 * 设备管理保修记录 mapper
 */
@Mapper
public interface DogcartRepairMapper {
    /**
     *  总条数
     * @param dogcartRepairVo
     * @return
     */
    Long quertyCount(DogcartRepairVo dogcartRepairVo);

    /**
     *  分页数据
     * @param dogcartRepairVo
     * @return
     */
    List<DogcarRepairDto> queryDogcartRepair(DogcartRepairVo dogcartRepairVo);

    void updateDogcartRepair(DogcartRepairEntity dogcartRepairEntity);

    void deleteDogcartRepair(@Param("id") Integer id);

    void addDogcartRepair(DogcartRepairEntity dogcartRepairEntity);
}
